package hrms.dao;

import hrms.entity.WorkChange;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WorkChangeMapper {
    int insertWorkChange(WorkChange workChange);
    int updateWorkChange(WorkChange workChange);
    int deleteWorkChangeById(@Param("id")Integer id);
    List<WorkChange> selectAllWorkChange();
    List<WorkChange> selectWorkChangeByStaffId(@Param("id")Integer id);
}
